package com.wkk.entity;

import java.util.List;

public class Coach {
    private Integer cid;//教练编号
    private String cname;//教练名称
    private String sample;//教练样图
    private String mold;//教练类型
    private String mobile;//联系电话
    private Integer rank;//教练排名

    private List<CoachPerformance> coachPerformances;//教练所有业绩
    private List<User> users;//该教练的所有学员信息
    private User user;//教练的登录信息
    private List<Honor> honors;//教练的荣誉

    private Integer totalPerformances;//总业绩

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Honor> getHonors() {
        return honors;
    }

    public void setHonors(List<Honor> honors) {
        this.honors = honors;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getSample() {
        return sample;
    }

    public void setSample(String sample) {
        this.sample = sample;
    }

    public String getMold() {
        return mold;
    }

    public void setMold(String mold) {
        this.mold = mold;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public List<CoachPerformance> getCoachPerformances() {
        return coachPerformances;
    }

    public void setCoachPerformances(List<CoachPerformance> coachPerformances) {
        this.coachPerformances = coachPerformances;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    public Integer getTotalPerformances() {
        return totalPerformances;
    }

    public void setTotalPerformances(Integer totalPerformances) {
        this.totalPerformances = totalPerformances;
    }

    @Override
    public String toString() {
        return "Coach{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", sample='" + sample + '\'' +
                ", mold='" + mold + '\'' +
                ", mobile='" + mobile + '\'' +
                ", rank=" + rank +
                ", coachPerformances=" + coachPerformances +
                '}';
    }
}
